import Home from "@/pages/Home";
import { RouteObject } from "@/router";
import KeepAlive from "@/router/components/KeepAlive/KeepAlive";

// home 模块
const route: Array<RouteObject> = [
	{
		path: "/home",
		element: (
			<KeepAlive cacheId="home" key="home">
				<Home />
			</KeepAlive>
		),
		name: "home",
		meta: {
			title: "首页"
		}
	}
];

export default route;
